home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / geom / geomar10.sty < prev    next >
Text File  |  1993-01-11  |  4KB  |  125 lines

  1. % $Header: /a/tampa/h/tampa_a/fac/levy/texts/geombook/RCS/geomar10.sty,v 1.1 92/07/11 22:28:19 levy Exp $
  2.  
  3. %
  4. % This is the geom style art10 file, by Silvio Levy.
  5. % It contains modifications to art10.sty of 22 Dec 87
  6. %
  7. % \typeout{Reading geomart10.sty $Revision: 1.1 $ (changes to art10.sty)}
  8.  
  9. % make the \parsep 0pt
  10.  
  11. \def\small{\@setsize\small{11pt}\ixpt\@ixpt
  12.   \abovedisplayskip 9pt plus2pt minus4pt
  13.   \belowdisplayskip \abovedisplayskip
  14.   \abovedisplayshortskip 0pt plus2.5pt
  15.   \belowdisplayshortskip 5pt plus2.5pt minus2.5pt
  16.   \def\@listi{\leftmargin\leftmargini \parsep 0pt
  17.     \itemsep 2.5pt plus 2pt minus 0pt
  18.     \topsep 5pt plus 2pt minus 2pt}}
  19.  
  20. \def\footnotesize{\@setsize\footnotesize{10pt}\viiipt\@viiipt
  21.   \abovedisplayskip 7.2pt plus 2pt minus 4pt%
  22.   \belowdisplayskip \abovedisplayskip
  23.   \abovedisplayshortskip \z@ plus 1pt%
  24.   \belowdisplayshortskip 4pt plus 2pt minus 2pt
  25.   \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  26.   \parsep 0pt
  27.   \topsep 4pt plus 2pt minus 2pt
  28.   \itemsep 2pt plus 1pt minus 1pt}}
  29.  
  30. % Make chapter and section heads less huge 
  31.  
  32. \let\chapheadsize=\LARGE
  33. \let\huge=\Large
  34. \let\Large=\large
  35.  
  36. % Increase the page size 
  37.  
  38. \textwidth 5.5in \oddsidemargin .6in \evensidemargin .4in 
  39.  
  40. \textheight = 44\baselineskip \advance\textheight by \topskip \topmargin -.25in
  41.  
  42. % Increase the parindent
  43.  
  44. \parindent 20pt 
  45.  
  46. % Extra vertical space, in addition to 
  47. % \parskip and \topsep, added when user
  48. % leaves blank line before environment.
  49. % (Changed from 3 +2 -2)
  50.  
  51. \partopsep 2pt plus 1pt minus 1pt 
  52.  
  53. % mess with \addcontentsline; \chapheadsize instead of \Huge
  54.  
  55. \def\@part[#1]#2{\ifnum \c@secnumdepth >-1\relax  % IF secnumdepth > -1
  56.         \refstepcounter{part}                     %   THEN step part counter
  57.         \def\@tempa{\addcontentsline{toc}{part}}  %
  58.         \expandafter\@tempa\expandafter{\thepart  %        add toc line
  59.           \hspace{1em}#1}\else                    %   ELSE add unnumbered line
  60.         \addcontentsline{toc}{part}{#1}\fi        % FI
  61.    {\centering                       
  62.     \ifnum \c@secnumdepth >-1\relax  % IF secnumdepth > -1
  63.       \Large\bf Part \thepart        %   THEN Print 'Part' and number
  64.     \par\nobreak                     %         in \Large bold.
  65.     \fi                              % FI
  66.     \chapheadsize \bf                % 
  67.     #2\markboth{}{}\par}
  68.     \nobreak                       % TeX penalty to prevent page break.
  69.     \vskip 3ex                     % Space between title and text.
  70.    \@afterheading                  % Routine called after part and
  71.     }                              %     section heading.
  72.  
  73. \def\@spart#1{{\centering
  74.     \chapheadsize \bf                       
  75.     #1\par}                         % Title.
  76.     \nobreak                        % TeX penalty to prevent page break.
  77.     \vskip 3ex                      % Space between title and text.
  78.     \@afterheading                  % Routine called after part and
  79.   }                                 %     section heading.
  80.  
  81. % Normalize according to \parindent
  82.  
  83. \leftmargini\parindent
  84. \listparindent .8\parindent
  85. \leftmarginii .8\parindent
  86. \leftmarginiii .8\parindent
  87. \leftmarginiv .8\parindent
  88. \leftmarginv .8\parindent
  89. \leftmarginvi .8\parindent
  90. \leftmargin\leftmargini
  91. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  92.  
  93. % Make \parsep 0
  94.  
  95. \def\@listI{\leftmargin\leftmargini 
  96.   \parsep 0pt
  97.   \topsep 8pt plus 3pt minus 4pt%
  98.   \itemsep 4pt plus 2pt minus 1pt}
  99.  
  100. \let\@listi\@listI
  101. \@listi 
  102.  
  103. \def\@listii{\leftmargin\leftmarginii
  104.  \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  105.  \topsep 4pt plus 2pt minus 1pt
  106.  \itemsep 2.5pt plus \p@ minus \p@
  107.  \parsep \z@}
  108.  
  109. \def\@listiii{\leftmargin\leftmarginiii
  110.  \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  111.  \topsep 2pt plus 1pt minus 1pt 
  112.  \parsep \z@ \partopsep \p@ plus \z@ minus \p@
  113.  \itemsep \topsep}
  114.  
  115. % $Log:    geomar10.sty,v $
  116. %Revision 1.1  92/07/11  22:28:19  levy
  117. %Initial revision
  118. %
  119. %Revision 1.1  92/04/07  09:09:06  levy
  120. %Initial revision
  121. %
  122. %Revision 1.1  1992/03/20  22:38:55  levy
  123. %Initial revision
  124. %
  125.